package com.baitiaojun.user.mapper;

import com.baitiaojun.api.domain.user.UserCoin;

public interface UserCoinMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserCoin record);

    int insertSelective(UserCoin record);

    UserCoin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserCoin record);

    int updateByPrimaryKey(UserCoin record);

    Integer selectAmountByUserId(Long userId);

    int updateUserCoinByUserId(UserCoin userCoin);
}